/**
 * com.cnhis.his.customer.mapper.Bdo1.java
 */
package com.mbmed.doctor.medadvice.mapper;

import javax.xml.bind.annotation.XmlRootElement;

import com.mbmed.doctor.commons.utils.BaseVO;

/**
 * @file  Bdo1.java
 * @author 刘武
 * @version 0.1
 * @todo	Bdo1数据值
 * Copyright(C), 2013-2014
 *		 Shenzhen Coordinates Software Development Co., Ltd.
 * History
 *   	1. Date: 2014-10-28 12:00:27
 *      	Author: 刘武
 *      	Modification: this file was created
 *   	2. ...
 */
@XmlRootElement
public class Bdo1 extends BaseVO implements java.io.Serializable{

	private java.lang.Integer bdo01;
	private java.lang.String bdo02;
	private java.lang.String bdo03;
	private java.lang.String abbrp;
	private java.lang.String abbrw;
	private java.lang.Integer bdo01a;
	private java.lang.String bdm01;
	private java.util.Date bdo08;
	private java.util.Date bdo09;
	private java.lang.Integer patientid;
	
	
	
	public java.lang.Integer getPatientid() {
		return patientid;
	}

	public void setPatientid(java.lang.Integer patientid) {
		this.patientid = patientid;
	}

	public Bdo1(){
	}

	public Bdo1(
		java.lang.Integer bdo01
	){
		this.bdo01 = bdo01;
	}



	public void setBdo01(java.lang.Integer value) {
		this.bdo01 = value;
	}	
	public java.lang.Integer getBdo01() {
		return this.bdo01;
	}

	public void setBdo02(java.lang.String value) {
		this.bdo02 = value;
	}	
	public java.lang.String getBdo02() {
		return this.bdo02;
	}

	public void setBdo03(java.lang.String value) {
		this.bdo03 = value;
	}	
	public java.lang.String getBdo03() {
		return this.bdo03;
	}

	public void setAbbrp(java.lang.String value) {
		this.abbrp = value;
	}	
	public java.lang.String getAbbrp() {
		return this.abbrp;
	}

	public void setAbbrw(java.lang.String value) {
		this.abbrw = value;
	}	
	public java.lang.String getAbbrw() {
		return this.abbrw;
	}

	public void setBdo01a(java.lang.Integer value) {
		this.bdo01a = value;
	}	
	public java.lang.Integer getBdo01a() {
		return this.bdo01a;
	}

	public void setBdm01(java.lang.String value) {
		this.bdm01 = value;
	}	
	public java.lang.String getBdm01() {
		return this.bdm01;
	}

	public void setBdo08(java.util.Date value) {
		this.bdo08 = value;
	}	
	public java.util.Date getBdo08() {
		return this.bdo08;
	}

	public void setBdo09(java.util.Date value) {
		this.bdo09 = value;
	}	
	public java.util.Date getBdo09() {
		return this.bdo09;
	}


    public String toString() {
		  StringBuffer buffer = new StringBuffer();
		  buffer.append(getClass().getName()).append("@").append(Integer.toHexString(hashCode())).append(" [");	
			   buffer.append("Bdo01").append("='").append(getBdo01()).append("' ");	
			   buffer.append("Bdo02").append("='").append(getBdo02()).append("' ");	
			   buffer.append("Bdo03").append("='").append(getBdo03()).append("' ");	
			   buffer.append("Abbrp").append("='").append(getAbbrp()).append("' ");	
			   buffer.append("Abbrw").append("='").append(getAbbrw()).append("' ");	
			   buffer.append("Bdo01a").append("='").append(getBdo01a()).append("' ");	
			   buffer.append("Bdm01").append("='").append(getBdm01()).append("' ");	
			   buffer.append("Bdo08").append("='").append(getBdo08()).append("' ");	
			   buffer.append("Bdo09").append("='").append(getBdo09()).append("' ");	
		  buffer.append("]");
		  return buffer.toString();
	}		

	public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof Bdo1) ) return false;
		 Bdo1  castOther = ( Bdo1) other;  
		 return 
					( (this.getBdo01()==castOther.getBdo01()) ||( this.getBdo01()!=null && castOther.getBdo01()!=null && this.getBdo01().equals(castOther.getBdo01()) ) )
					&&( (this.getBdo02()==castOther.getBdo02()) ||( this.getBdo02()!=null && castOther.getBdo02()!=null && this.getBdo02().equals(castOther.getBdo02()) ) )
					&&( (this.getBdo03()==castOther.getBdo03()) ||( this.getBdo03()!=null && castOther.getBdo03()!=null && this.getBdo03().equals(castOther.getBdo03()) ) )
					&&( (this.getAbbrp()==castOther.getAbbrp()) ||( this.getAbbrp()!=null && castOther.getAbbrp()!=null && this.getAbbrp().equals(castOther.getAbbrp()) ) )
					&&( (this.getAbbrw()==castOther.getAbbrw()) ||( this.getAbbrw()!=null && castOther.getAbbrw()!=null && this.getAbbrw().equals(castOther.getAbbrw()) ) )
					&&( (this.getBdo01a()==castOther.getBdo01a()) ||( this.getBdo01a()!=null && castOther.getBdo01a()!=null && this.getBdo01a().equals(castOther.getBdo01a()) ) )
					&&( (this.getBdm01()==castOther.getBdm01()) ||( this.getBdm01()!=null && castOther.getBdm01()!=null && this.getBdm01().equals(castOther.getBdm01()) ) )
					&&( (this.getBdo08()==castOther.getBdo08()) ||( this.getBdo08()!=null && castOther.getBdo08()!=null && this.getBdo08().equals(castOther.getBdo08()) ) )
					&&( (this.getBdo09()==castOther.getBdo09()) ||( this.getBdo09()!=null && castOther.getBdo09()!=null && this.getBdo09().equals(castOther.getBdo09()) ) )
			;
    }

	public int hashCode() {
         int result = 17;
				  result = 37 * result + (getBdo01() == null ? 0 : this.getBdo01().hashCode() );
				  result = 37 * result + (getBdo02() == null ? 0 : this.getBdo02().hashCode() );
				  result = 37 * result + (getBdo03() == null ? 0 : this.getBdo03().hashCode() );
				  result = 37 * result + (getAbbrp() == null ? 0 : this.getAbbrp().hashCode() );
				  result = 37 * result + (getAbbrw() == null ? 0 : this.getAbbrw().hashCode() );
				  result = 37 * result + (getBdo01a() == null ? 0 : this.getBdo01a().hashCode() );
				  result = 37 * result + (getBdm01() == null ? 0 : this.getBdm01().hashCode() );
				  result = 37 * result + (getBdo08() == null ? 0 : this.getBdo08().hashCode() );
				  result = 37 * result + (getBdo09() == null ? 0 : this.getBdo09().hashCode() );
         return result;
	} 
	
}
